cmake_minimum_required(VERSION 3.19)

project(layout_test VERSION 1.0)

set(target_name layout_test)

enable_testing()

add_executable(${target_name} layout.cpp)

target_include_directories(${target_name} PRIVATE 
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${VCPKG_SDK}/include
)

# find_package(Gtest)
# target_link_libraries(${target_name} PRIVATE gtest::gtest)
# link_libraries(ql_qlib)

if(CMAKE_BUILD_TYPE STREQUAL "Debug")
    file(GLOB_RECURSE VCPKG_SDK_LIB_FILES ${VCPKG_SDK}/debug/lib/*.lib)
    target_link_libraries(${target_name} PRIVATE ${VCPKG_SDK_LIB_FILES})
else()
    file(GLOB_RECURSE VCPKG_SDK_LIB_FILES ${VCPKG_SDK}/lib/*.lib)
    target_link_libraries(${target_name} PRIVATE ${VCPKG_SDK_LIB_FILES})
endif()


# find_package(GTest)
# target_include_directories(gdstk_test PRIVATE ${GTest_INCLUDE_DIRS})
# target_link_libraries(gdstk_test PRIVATE gtest::gtest)

